﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace STX.Lib.Caching.Providers
{
    public class HttpContextProvider:ICacheProvider
    {

        public T Get<T>(string key)
        {
            throw new NotImplementedException();
        }

        public void Set(string key, object value)
        {
            throw new NotImplementedException();
        }

        public void Set(string key, object value, int expiresSecond)
        {
            throw new NotImplementedException();
        }

        public void Remove(string key)
        {
            System.Web.HttpContext.Current.Cache.Remove(key);
        }

        public void Clear()
        {
            throw new NotImplementedException();
        }


        public bool IsSet(string key)
        {
            return false;
        }
    }
}
